include config.mk 

.PHONY: all clean
all: $(BINDIR) $(SUBDIR)

$(BINDIR):
	mkdir -p bin
$(SUBDIR):ECHO
	@make -C $@
ECHO:
	@echo comlile...

clean:
	@rm -rf $(BINDIR)/*
	@rm -rf $(OBJDIR)/*.o 

disclean:
	@rm -rf $(BINDIR)
	@rm -rf $(OBJDIR)/*.o
	@rm -rf ./data.db ./core

